package com.tudouji.project.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 部门客户关联对象 cusdepartgroup
 *
 * @author tudouji
 * @date 2021-02-01
 */
public class CusDepartGroup extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String guid;

    /** 部门ID */
    @Excel(name = "部门ID")
    private String departid;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String departname;

    /** 客户ID */
    @Excel(name = "客户ID")
    private String customerid;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customername;

    /** 1-正常2-删除 */
    @Excel(name = "1-正常2-删除")
    private Integer status;

    /** 操作人ID */
    @Excel(name = "操作人ID")
    private String operatorid;

    /** 最后修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastupdate;

    /** 销售员id */
    @Excel(name = "销售员id")
    private String sellerid;

    /** 销售员 */
    @Excel(name = "销售员")
    private String seller;

    /** 销售员电话 */
    @Excel(name = "销售员电话")
    private String sellerPhone;

    /** 管理按类型:1-渠道，2-客户经理 */
    @Excel(name = "管理按类型:1-渠道，2-客户经理")
    private Integer type;

    /** 创建人 */
    @Excel(name = "创建人")
    private String operator;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createtime;
    
   private String contact;
    
    private String contactNo;
    
    private String city;
    
    private String province;
    
    private String district;
    
    private String address;

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public void setGuid(String guid)
    {
        this.guid = guid;
    }

    public String getGuid()
    {
        return guid;
    }
    public void setDepartid(String departid)
    {
        this.departid = departid;
    }

    public String getDepartid()
    {
        return departid;
    }
    public void setCustomerid(String customerid)
    {
        this.customerid = customerid;
    }

    public String getCustomerid()
    {
        return customerid;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setOperatorid(String operatorid)
    {
        this.operatorid = operatorid;
    }

    public String getOperatorid()
    {
        return operatorid;
    }
    public void setLastupdate(Date lastupdate)
    {
        this.lastupdate = lastupdate;
    }

    public Date getLastupdate()
    {
        return lastupdate;
    }
    public void setSellerid(String sellerid)
    {
        this.sellerid = sellerid;
    }

    public String getSellerid()
    {
        return sellerid;
    }
    public void setType(Integer type)
    {
        this.type = type;
    }

    public Integer getType()
    {
        return type;
    }
    public void setOperator(String operator)
    {
        this.operator = operator;
    }

    public String getOperator()
    {
        return operator;
    }

    public String getDepartname() {
        return departname;
    }

    public void setDepartname(String departname) {
        this.departname = departname;
    }

    public String getCustomername() {
        return customername;
    }

    public void setCustomername(String customername) {
        this.customername = customername;
    }
    public String getSeller() {
        return seller;
    }

    public void setSeller(String seller) {
        this.seller = seller;
    }

    public String getsellerPhone() {
        return sellerPhone;
    }

    public void setsellerPhone(String sellerPhone) {
        this.sellerPhone = sellerPhone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("guid", getGuid())
            .append("departid", getDepartid())
            .append("departname", getDepartname())
            .append("customerid", getCustomerid())
            .append("customername", getCustomername())
            .append("status", getStatus())
            .append("createtime", getCreatetime())
            .append("operatorid", getOperatorid())
            .append("lastupdate", getLastupdate())
            .append("sellerid", getSellerid())
            .append("seller", getSeller())
            .append("sellerPhone", getsellerPhone())
            .append("type", getType())
            .append("operator", getOperator())
            .toString();
    }

	public String getContact() {
		return contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	public String getContactNo() {
		return contactNo;
	}

	public void setContactNo(String contactNo) {
		this.contactNo = contactNo;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getDistrict() {
		return district;
	}

	public void setDistrict(String district) {
		this.district = district;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}
    
    
    
}
